<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <?php echo $this->headMeta()->appendHttpEquiv('Content-Type', 'text/html; charset=utf-8'); ?>
	<meta name="description" content="<?php echo $this->description; ?>" />
	<meta name="keywords" content="<?php echo $this->keywords; ?>" />
    <?php echo $this->headTitle(); ?>
    <?php echo $this->headLink(); ?>
    <?php echo $this->headScript(); ?>
    <?php
        $controller = Zend_Controller_Front::getInstance()->getRequest()->getControllerName();
        $action = Zend_Controller_Front::getInstance()->getRequest()->getActionName();
        if(($controller == 'customer') && ($action == 'invitefriend')) :
    ?>
    <meta property="og:url" content="<?php echo $this->url; ?>" />
    <?php else : ?>
    <meta property="og:url" content="<?php echo 'http://vndrive.com' . $this->userAgent()->getServerValue('request_uri'); ?>" />
    <?php endif; ?>
    <meta property="og:description" content="<?php echo $this->description; ?>" />
    <meta property="og:image" content="<?php echo 'http://vndrive.com'.$this->DirImg; ?>/logo3.png" />
    <meta property="og:site_name" content="Vndrive.com" />
    <meta property="fb:app_id" content="668366813188698"/>
    <link type="image/x-icon" href="<?php echo $this->DirImg; ?>/icon.png" rel="shortcut icon" />
</head>
<body>
<!--<div id="fly"> 
    <a href="<?php echo $this->baseUrl('feature/promotions')?>"> 
        <img src="<?php echo $this->DirImg;?>/km.png"/>
    </a> 
</div>-->
<script type="text/javascript">
  window.fbAsyncInit = function() {
    FB.init({
      appId      : '668366813188698', // App ID
      channelUrl : '//vndrive.com/channel.html', // Channel File
      status     : true, // check login status
      cookie     : true, // enable cookies to allow the server to access the session
      xfbml      : true  // parse XFBML
    });
  };

  (function(d){
     var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
     if (d.getElementById(id)) {return;}
     js = d.createElement('script'); js.id = id; js.async = true;
     js.src = "//connect.facebook.net/en_US/all.js";
     ref.parentNode.insertBefore(js, ref);
   }(document));
</script>
<script type="text/javascript">var subiz_account_id = "1192";(function() { var sbz = document.createElement("script"); sbz.type = "text/javascript"; sbz.async = true; sbz.src = ("https:" == document.location.protocol ? "https://" : "http://") + "widget.subiz.com/static/js/loader.js?v="+ (new Date()).getFullYear() + ("0" + ((new Date()).getMonth() + 1)).slice(-2) + ("0" + (new Date()).getDate()).slice(-2); var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(sbz, s);})();</script>
<script type="text/javascript">
$(document).ready(function(){
    jQuery("#fly").hover(function()
    {
        jQuery(this).stop().animate({marginLeft:"-5px"},1000,function(){})
    },
    function(){
        jQuery(this).stop().animate({marginLeft:"-373px"},1000,function(){})
        });
    jQuery("#fly").click(function(){
        jQuery(this).stop().animate({marginLeft:"-373px"},1000)
        });
        
   var controller = '<?php echo Zend_Controller_Front::getInstance()->getRequest()->getControllerName();?>'; 
   if(controller == 'index'){
      $('.home').addClass('active-menu');
   }
   else 
        if(controller == 'feature'){
			$('.feature').addClass('active-menu');
        }
		else if(controller == 'price'){
			$('.tableprice').addClass('active-menu');
		}
		else if(controller == 'download'){
			$('.download').addClass('active-menu');
		}
		else if(controller == 'support'){
			$('.support').addClass('active-menu');
		}
		else if(controller == 'about'){
			$('.about').addClass('active-menu');
		}
});

(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-43277474-1', 'vndrive.com');
ga('send', 'pageview');
</script>
<div id="loading">Đang tải dữ liệu...</div>
<div class="head">
    <div class="content-head">
        <div class="logo"></div>
		<div id="register"><a href="<?php echo $this->baseUrl('customer/login'); ?>">Đăng nhập</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="<?php echo $this->baseUrl('customer/register'); ?>">Đăng ký</a></div>	
        <div class="head-right">
            <ul class="navigation">
                <li class="home"><a href="<?php echo $this->baseUrl("")?>">Trang chủ</a></li>
                <li class="feature"><a href="<?php echo $this->baseUrl("feature")?>">Tính năng</a></li>
                <li class="tableprice"><a href="<?php echo $this->baseUrl("price")?>">Bảng giá</a></li>
                <li class="download"><a href="<?php echo $this->baseUrl('download'); ?>">Tải về</a></li>
                <li class="support"><a href="<?php echo $this->baseUrl('support'); ?>">Hỗ trợ</a></li>
                <li class="about"><a href="<?php echo $this->baseUrl('about'); ?>">Về chúng tôi</a></li>
				<li class="invite"><a href="<?php echo $this->baseUrl('customer/invite'); ?>?height=230&width=370" class="thickbox">Mời bạn bè</a></li>
            </ul>
        </div>
    </div>
</div>
<div class="introduction">
    <p>SAO LƯU TRỰC TUYẾN KHÔNG GIỚI HẠN</p>
</div>
<div class="main">
    <?php echo $this->layout()->content;?>
</div>
<div class="footer">
        <div class="content-footer">
        <div class="list-footer">
            <p>Follow us</p>
            <ul class="follow-us">
                <li class="follow-us-facebook"><a href="https://www.facebook.com/vndrive" target="_blank">Facebook</a></li>
                <li class="follow-us-google"><a href="">Google+</a></li>
                <li class="follow-us-blog"><a href="http://blog.vndrive.com/" target="_blank">Blog</a></li>
                <li class="follow-us-youtube"><a target="_blank" href="https://www.youtube.com/watch?v=t8aqwKbF5pQ?autoplay=1">Video Clip</a></li>
            </ul>
        </div>
        <div class="list-footer">
            <p>Vndrive</p>
            <ul class="menu-footer">
                <li><a href="<?php echo $this->baseUrl("")?>">Trang chủ</a></li>
                <li><a href="<?php echo $this->baseUrl("feature")?>">Tính năng</a></li>
                <li><a href="<?php echo $this->baseUrl("price")?>">Bảng giá</a></li>
                <li><a href="<?php echo $this->baseUrl('download'); ?>">Tải về</a></li>
                <li><a href="<?php echo $this->baseUrl('about'); ?>">Về chúng tôi</a></li>
				<li><a href="<?php echo $this->baseUrl('customer/register')?>?package=1">Đăng ký</a></li>
            </ul>
        </div>
        <div class="list-footer">
            <p>Hỗ trợ</p>
            <ul class="menu-footer">
				<li><a href="<?php echo $this->baseUrl('support/use')?>">Hướng dẫn sử dụng</a></li>
                <li><a href="<?php echo $this->baseUrl('support/question')?>">Câu hỏi thường gặp</a></li>
                <li><a href="">Góp ý - Báo lỗi</a></li>
				<li><a href="<?php echo $this->baseUrl('customer/collaborator')?>">Trở thành cộng tác viên</a></li>
				<li><a href="<?php echo $this->baseUrl('customer/agent')?>">Trở thành đại lý của <b>vndrive</b></a></li>
            </ul>
        </div>
        
        <div class="logo-footer"></div>
        
        <ul class="list-contact">
            <li class="phone"><span>(04) 66858789</span></li>
            <li class="mail"><a href="mailto:support@vndrive.com">support@vndrive.com</a></li>
            <li><a href="<?php echo $this->baseUrl('about/terms')?>">Điều khoản sử dụng</a></li>
            <li><a href="<?php echo $this->baseUrl('about/policy')?>">Chính sách riêng tư</a></li>
        </ul>
    </div>
</div>
</body>
</html>